<?php get_header(); ?>

<div id="content" class="search-results">
    
	<h2>Search Results for "<?php the_search_query() ?>"</h2>
    
    <?php if (have_posts()) : while (have_posts()) : the_post(); // the loop ?>
	
	<h3 class="title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
	<p class="permalink"><?php the_permalink(); ?></p>
	<?php the_excerpt(); ?>
	
    <?php endwhile; //end one post ?>
    
    <!-- Previous/Next page navigation -->
    <div class="page-nav">
	    <div class="nav-previous"><?php previous_posts_link(__('&larr; Previous Page')) ?></div>
	    <div class="nav-next"><?php next_posts_link(__('Next Page &rarr;')); ?></div>
    </div>   
                
	<?php else : //do not delete ?>

    <p><?php _e("We're sorry, but there were no results for "); echo '"'.wp_specialchars(stripslashes($s), true).'"'; ?></p>
    <p><?php _e("Try refining your search or browse our content using the navigation in the header or sidebar"); ?></p>

	<?php endif; //do not delete ?>
		
</div><!--end #content-->

<!--include sidebar-->
<?php get_sidebar(); ?>

<!--include footer-->
<?php get_footer(); ?>